package ar.com.quickMart.database;

import java.util.Date;
import java.util.List;

import ar.com.quickMart.logic.Employee;

public interface EmployeeDao {

	public boolean addEmployeeType(String description);
	public int getEmployeeTypeId(String employeeType);
	public boolean removeEmployeeType(int employeeTypeId);
	public boolean addEmployee(String name, String surname, String phoneNumber, String userName, String password, long branchId, long employeeTypeId);
	public boolean removeEmployee(long employeeId);
	public  String getEmployeePassword(String username);
	public Employee getEmployee(long id);
	public List<Employee> getEmployees();
	public List<Employee> getEmployees(long branchId);
	public Employee getEmployee(String userName);
	public boolean updateEmployeePassword(long employeeId, String newPassword);
	public boolean updateEmployeeLastLogin(long employeeId, Date date);
	public boolean removeEmployeeLogically(long employeeId);
}
